Date Class

Displays a date, by default this is the current date. The date can be adjusted to display a date other than the current date.

Definition

Namespace: Independentsoft.Office.Odf.Fields
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class Date : Field
Inheritance
Object    Field    Date

Constructors

Date Initializes a new instance of the Date class.

Properties

Adjustment Contains an adjustment to the value of a date field. If the time period is negative, it gets subtracted from the value of the date field, yielding a date before the current date.
DateValue Contains the date value. This attribute can also be used to specify a future date. If no value is specified, whether the field is marked as fixed or not, the current date is assumed.
IsFixed Specifies whether the value of a field element is fixed. The defined values are: - false: value of field element may be replaced with a new value in future edits. - true: value of field element shall be preserved in future edits.
Style Contains the data style to format a numeric value.
Value Contains date value.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetContentElements Returns all content elements.
(Overrides FieldGetContentElements)
GetHashCode
(Inherited from Object)
GetParent Returns the parent element.
(Inherited from Field)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current Date object to its equivalent string representation.
(Overrides ObjectToString)

See Also